import request from "@/utils/request.js";

//距我最近网点分页列表
export function getNearbyListApi(params) {
  return request.get("/credit/outlets/closestPage", { params });
}
//获取二级城市

export function getCityList(params) {
  return request.get("/area/list/secondary", { params });
}

//获取银行通讯录
export function getBankList(param) {
  let data = {
    ...param,
    type: 1,
    status: 1,
  };
  return request.get("/bankInfo/page", { params: data });
}

//获取银行列表
export function getBankListApi(params) {
  return request.get("/bankBook/page", { params });
}